package com.ming.luckyDemo.service.serviceImpl;

import com.ming.luckyDemo.mapper.AdminMapper;
import com.ming.luckyDemo.pojo.DO.UserInfoDO;
import com.ming.luckyDemo.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements AdminService {

    @Autowired
    private AdminMapper adminMapper;

    @Override
    public UserInfoDO login2(String cookieName) {
        return adminMapper.queryByName(cookieName);
    }
}
